/*
 * test_framework_datastructure_autodeletetree.h
 *
 *  Created on: 2014. 7. 4.
 *      Author: jjaehuny
 */

#ifndef TEST_FRAMEWORK_DATASTRUCTURE_AUTODELETETREE_H_
#define TEST_FRAMEWORK_DATASTRUCTURE_AUTODELETETREE_H_

#include <glog/logging.h>
#include <gtest/gtest.h>

#include <Framework/DataStructure/AutoDeleteTree.h>

class test_framework_datastructure_autodeletetree : public testing::Test
{
public:
	class Dummy
	{
	public:
		Dummy() { LOG(INFO) << __PRETTY_FUNCTION__; }
		~Dummy() { LOG(INFO) << __PRETTY_FUNCTION__; }
	};

public:
	::Framework::DataStructure::AutoDeleteTree<int, Dummy> clsDumyAutoDeleteTree;

	// Sets up the test fixture.
	virtual void SetUp() {
	}

	// Tears down the test fixture.
	virtual void TearDown() {}
};

TEST_F(test_framework_datastructure_autodeletetree, test_framework_datastructure_autodeletetree)
{

	clsDumyAutoDeleteTree.Regist(1, new Dummy);
}


#endif /* TEST_FRAMEWORK_DATASTRUCTURE_AUTODELETETREE_H_ */
